*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
section{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #001d30;
    animation: changeBg 2.5s linear infinite;
}
@keyframes changeBg{
    to{
        filter: hue-rotate(360deg);
    }
}
.loader{
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(to top,#001d30 40%,#51eeee);
    border-radius: 50%;
    animation: rotate 1s linear infinite;

}
@keyframes rotate{
    to{
        transform: rotate(360deg);
    }
}
.loader::before{
    content: '';
    position: absolute;
    background: #001d30;
    inset: 20px 20px 0 0;
    border-radius: 50%;
}
.loader::after{
    content: '';
    position: absolute;
    top: 50px;
    right: -8px;
    width: 40px;
    height: 40px;
    background: #51eeee;
    border-radius: 50%;
    box-shadow: 0 0 5px #51eeee, 0 0 25px #51eeee, 0 0 50px #51eeee, 0 0 75px #51eeee;
}